package pri.black.dogview.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import pri.black.dogview.domain.Admin;
import pri.black.dogview.mapper.AdminMapper;
import pri.black.dogview.service.IAdminService;

@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements IAdminService {
    @Override
    public void logout(Long adminId){
        getBaseMapper().emptyToken(adminId);
    }
}
